			function updateUserInfo() {
				$("#message").text("");
				//手机合法性验证正则表达式
				var phoneParm = /(^0{0,1}1[3|4|5|6|7|8|9][0-9]{9}$)/;
				//电子邮箱合法性验证正则表达式 
				var emailParm = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
				var userId = $.trim($("#userId").val());
				var userName = $.trim($("#userName").val());
				var password = $.trim($("#password").val());
				var oldPassword = $.trim($("#oldPassword").val());
				if(password!=""){
					if(oldPassword==""){
						$("#message").text("请输入原密码！");
						$("#oldPassword").focus();
						return;
					}
					var rePassword = $.trim($("#rePassword").val());
					if(rePassword==""){
						$("#message").text("请输入重复密码！");
						$("#rePassword").focus();
						return;
					}else if(rePassword!=password){
						$("#message").text("两次输入的密码不一致！");
						$("#password").focus();
						return;
					}
				}
				var name = $.trim($("#name").val());
				var telphone = $.trim($("#telphone").val());
				var email = $.trim($("#email").val());
				var address = $.trim($("#address").val());
				if (name == "") {
					$("#message").text("姓名不能为空！");
					$("#name").focus();
					return;
				}
				if(telphone!=""){
					if(!phoneParm.exec(telphone)){
						$("#message").text("手机号有误，请核实！");
						$("#telphone").focus();
						return;
					}
				}
				if(email!=""){
					if (!emailParm.exec(email)) {
						$("#message").text("邮箱填写不正确，请核实！");
						$("#email").focus();
						return;
					}
				}
				var url = $("form")[0].action;
				var from = createFrom(url);
				loadFrom("user.pkId", userId, from);
				loadFrom("user.userName", userName, from);
				loadFrom("user.name", name, from);
				if(password!=null){
					loadFrom("user.passWord", password, from);
				}
				loadFrom("oldPassword", oldPassword, from);
				loadFrom("user.telPhone", telphone, from);
				loadFrom("user.email", email, from);
				loadFrom("user.address", address, from);
			
				from.submit();
			}

			function checkConPWD() {
				var old_pwd = $.trim($("#old_pwd").val());
				if (old_pwd == "" || new_pwd == "" || confirm_pwd == "") {
					$("#message").text("请输入当前密码!");
					$("#old_pwd").focus();
					return;
				}
				var new_pwd = $.trim($("#new_pwd").val());
				var confirm_pwd = $.trim($("#confirm_pwd").val());
				if(new_pwd == ""){
					$("#message").text("请输入新密码!");
					$("#new_pwd").focus();
					return;
				}
				if (new_pwd != confirm_pwd) {
					$("#message").text("两次密码输入不一致!");
					$("#confirm_pwd").focus();
					return;
				}
				updateUserPWD();
			}
			function updateUserPWD() {
				var url = $("form")[0].action;
				var from = createFrom(url);
				var userId = $.trim($("#userId").val());
				var old_pwd = $.trim($("#old_pwd").val());
				var new_pwd = $.trim($("#new_pwd").val());
				var confirm_pwd = $.trim($("#confirm_pwd").val());
				loadFrom("oldPassword", hex_md5(old_pwd), from);
				loadFrom("user.passWord", hex_md5(new_pwd), from);
				loadFrom("user.pkId", userId, from);
				from.submit();
			}
			